#{extends 'CRUD/admin.html' /}
#{set title:'Cambiar Password' /}

<div id="crudContent">
	<div id="crudList">
		<h2>&{'changePassword.changePassword'}</h2>
		<div class="objectForm">
			#{form action:@changePassword(), enctype:'multipart/form-data'}
				<div class="crudField crud_password">
					<label for="object_username">        				
        				&{'changePassword.oldPassword'}
        			</label>
        			<input id="object_oldpassword" class="" type="password" name="object.oldpassword" size="50">
        			<span class="crudHelp">
                         &{'changePassword.required'}
                	</span>
				</div>
				<div class="crudField crud_password">
					<label for="object_username">
        				&{'changePassword.newPassword'}
        			</label>
        			<input id="object_newpassword" class="" type="password" name="object.newpassword" size="50">
        			<span class="crudHelp">
                        &{'changePassword.required'}
                	</span>
				</div>
				<div class="crudField crud_password">
					<label for="object_username">
        				&{'changePassword.confirmPassword'}
        			</label>
        			<input id="object_confirmpassword" class="" type="password" name="object.confirmpassword" size="50">
        			<span class="crudHelp">
						&{'changePassword.required'}
                	</span>
				</div>
				<p class="crudButtons">
		            <input type="submit" name="_save" value="&{'changePassword.changePassword'}" />
		        </p>
			#{/form}
		</div>
	</div>
</div>
